<div class="presentationTypes view">
<h2><?php  echo __('Tipo de Presentación'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($presentationType['PresentationType']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Nombre'); ?></dt>
		<dd>
			<?php echo h($presentationType['PresentationType']['name']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Acciones'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Editar Tipo de Presentación'), array('action' => 'edit', $presentationType['PresentationType']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Borrar Tipo de Presentación'), array('action' => 'delete', $presentationType['PresentationType']['id']), null, __('Are you sure you want to delete # %s?', $presentationType['PresentationType']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Listar Tipos de Presentación'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nuevo Tipo de Presentación'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('Lista de Presentaciones'), array('controller' => 'presentations', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nueva Presentación'), array('controller' => 'presentations', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Presentaciones relacionadas'); ?></h3>
	<?php if (!empty($presentationType['Presentation'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Fecha de Inicio'); ?></th>
		<th><?php echo __('Fecha de término'); ?></th>
		<th><?php echo __('Id del tipo de presentación'); ?></th>
		<th><?php echo __('Nombre'); ?></th>
		<th class="actions"><?php echo __('Acciones'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($presentationType['Presentation'] as $presentation): ?>
		<tr>
			<td><?php echo $presentation['id']; ?></td>
			<td><?php echo $presentation['startdate']; ?></td>
			<td><?php echo $presentation['enddate']; ?></td>
			<td><?php echo $presentation['presentation_type_id']; ?></td>
			<td><?php echo $presentation['name']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('Ver'), array('controller' => 'presentations', 'action' => 'view', $presentation['id'])); ?>
				<?php echo $this->Html->link(__('Editar'), array('controller' => 'presentations', 'action' => 'edit', $presentation['id'])); ?>
				<?php echo $this->Form->postLink(__('Borrar'), array('controller' => 'presentations', 'action' => 'delete', $presentation['id']), null, __('Are you sure you want to delete # %s?', $presentation['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('Nueva Presentación'), array('controller' => 'presentations', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
